package com.zheng.oss.rpc.api;

import com.zheng.oss.dao.model.OssFile;
import com.zheng.oss.dao.model.OssRoleFile;
import com.zheng.oss.dao.mapper.OssRoleFileMapper;
import com.zheng.oss.rpc.api.OssRoleFileService;
import com.zheng.common.base.BaseServiceMock;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务实现降级实现类
 * </p>
 *
 * @author likun
 * @since 2018-05-08
 */
public class OssRoleFileServiceMock extends BaseServiceMock<OssRoleFileMapper, OssRoleFile> implements OssRoleFileService {
    @Override
    public List<Map<String, Object>> selectRoleFile(Integer fileId, Integer roleId) {
        return null;
    }

    @Override
    public boolean insertRoleFile(OssFile file) {
        return false;
    }

    @Override
    public boolean filePermission(List<OssRoleFile> roleFiles, Boolean effect) {
        return false;
    }
}
